﻿using System;
using Zeus.Thunder.Core;
using CsharpTrainer.MongoDB.Model;
using CsharpTrainer.MongoDB.DAL;

namespace SharpTrainer.MongoDB
{
    class MongoQueryTest : ITestCase
    {
        public void Run()
        {
            MongodbHelper<CsharpTrainer.MongoDB.Model.Person> helper = new MongodbHelper<CsharpTrainer.MongoDB.Model.Person>();

            CsharpTrainer.MongoDB.Model.Person person = helper.Single(a => a.Name == "jack518");
            Console.WriteLine(person);
        }
    }
}
